package com.my.mvc.dao;

import com.my.mvc.domain.Customer;

import java.util.List;

/**
 * Created by YJH on 2017/6/26 21:04.
 */
public interface CustomerDAO {

    List<Customer> getAll();

    void save(Customer customer);

    Customer get(Integer id);

    void delete(Integer id);

    long getCountWithName(String name);
}
